ResponseBytesReceived

An event indicating that a part of HTTP response body has been received over the network.

Since

7.1

Functions

Link copied to clipboard
open fun charset(): Optional<String>
Returns an Optional that contains the charset in lower case retrieved from the HTTP response headers of this request or an empty Optional if the received headers do not include any information about the charset.
Link copied to clipboard
open fun data(): Array<Byte>
Returns the received part of HTTP response body.
Link copied to clipboard
Returns an Optional that contains the MIME type value retrieved from the Content-Type header of this request or an empty Optional if there is no MIME type.
Link copied to clipboard
open fun network(): Network
Returns the Network instance initiated this event.
Link copied to clipboard
Returns the URL request associated with the response.